package com.zzt.cps.sdk.comm.constant;

/**
 * Copyright: Copyright (c) 2018  zteits
 *
 * @ClassName: com.zzt.cps.sdk.comm.constant
 * @Description: 京东API请求URL常量
 * @version: v1.0.0
 * @author: atao
 * @date: 2018/7/4   下午3:59
 * Modification History:
 * Date         Author          Version      Description
 * ---------------------------------------------------------*
 * 2018/7/4      atao          v1.0.0          创建
 */
public enum JdURLEnum {

    ;
    /**
     * 请求路径
     */
    private String url;

    /**
     * 描述
     */
    private String desc;

    /**
     * 请求方式 get 还是  post
     */
    private String reqType;

    /**
     * 请求报文 格式 JSON 还是 XML
     */
    private String dataType;

    JdURLEnum(String url, String desc, String reqType, String dataType) {
        this.url = url;
        this.desc = desc;
        this.reqType = reqType;
        this.dataType = dataType;
    }

    public String getUrl() {
        return url;
    }

    public String getDesc() {
        return desc;
    }

    public String getReqType() {
        return reqType;
    }

    public String getDataType() {
        return dataType;
    }
}
